package com.agilemaster.asdtiang.study.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HomeController {
	@RequestMapping("/home")
	public String home() {
		return "home";
	}
	@RequestMapping("/")
	public String index() {
		//Collection<?>  temp = SecurityContextHolder.getContext().getAuthentication().getAuthorities();
		return "home";
	}
}
